<template>
  <router-view></router-view>
</template>

<script lang='ts' setup>
import { useSysStore } from './stores/sysConfig'
import { ref, onMounted, reactive } from 'vue'
import commonApi from './api/common'

const store = useSysStore()
commonApi.getSysConfig()
.then(res => {
    const { code, data, msg } = res
    if (code == 0) {
        store.setSysOpt(data)
    }
})
</script>
<style  lang='scss'>
body{
  padding: 0;
  margin: 0;
}
</style>
